﻿namespace Zero.WebAPI.Framework.Attr
{
    [AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
    public class PermissionAttribute : Attribute
    {
        /// <summary>
        /// 权限信息
        /// </summary>
        public string Perms { get; set; }

        public PermissionAttribute(string perms)
        {
            Perms = perms;
        }
    }
}
